import request from '../utils/fetch'
export function getAdminOperateCount (data) {
  return request({
    url: '/admin/operate/getAdminOperateCount',
    method: 'get',
    requestBody: 'query',
    loading: true,
    params: data
  })
}
export function getAdminOpList (data) {
  return request({
    url: '/admin/operate/getAdminOpList',
    method: 'get',
    requestBody: 'query',
    loading: true,
    params: data
  })
}
export function addOperate (data) {
  return request({
    url: '/admin/operate/addOperate',
    method: 'post',
    requestBody: 'query',
    loading: true,
    data: data
  })
}
export function getNotCityHouseList (data) {
  return request({
    url: '/admin/operate/getNotCityHouseList',
    method: 'get',
    requestBody: 'query',
    loading: true,
    params: data
  })
}
export function getAdminOpHouseList (data) {
  return request({
    url: '/admin/operate/getAdminOpHouseList',
    method: 'get',
    requestBody: 'query',
    loading: true,
    params: data
  })
}
export function getAdminOpShopOrderForm (data) {
  return request({
    url: '/admin/opshoporder/getAdminOpShopOrderForm',
    method: 'get',
    requestBody: 'query',
    loading: true,
    params: data
  })
}
export function addOpShopOrder (data) {
  return request({
    url: '/admin/opshoporder/addOpShopOrder',
    method: 'post',
    requestBody: 'query',
    loading: true,
    data: data
  })
}
export function editOpShopOrder (data) {
  return request({
    url: '/admin/opshoporder/editOpShopOrder',
    method: 'post',
    requestBody: 'query',
    loading: true,
    data: data
  })
}
export function endOpShopOrder (data) {
  return request({
    url: '/admin/opshoporder/endOpShopOrder',
    method: 'post',
    requestBody: 'query',
    loading: true,
    data: data
  })
}
export function getAdminOpShopOrderPayList (data) {
  return request({
    url: '/admin/opshoporder/getAdminOpShopOrderPayList',
    method: 'get',
    requestBody: 'query',
    loading: true,
    params: data
  })
}

export function getHouseByCity (data) {
  return request({
    url: '/admin/house/getHouseByCity',
    method: 'get',
    requestBody: 'query',
    loading: true,
    params: data
  })
}









